// Ofri Keidar 302933981 group 05

package view;

/**
 * Used to hold common values for the web pages
 */
public interface WebCommons {
	
	public static final String BUILDER = "builder"; // builder object to get controller matching logged user
	public static final String USER_NAME = "username"; // holds logged user-name
	public static final String PASSWORD = "password"; // holds logged user's password
	public static final String CONTROLLER = "controller"; // controller object name
	public static final String COMMON_CONTROLLER = "cmnController"; // common-controller object name
	public static final String MAIN_MANU = "main_menu"; // logged user permission's main menu page name 
	public static final String CUSTOMER_NUMBER = "customer_number"; // name of customer number object kept in session
	public static final String CUSTOMER_DETAILS = "customer_details"; // collection of customer's details as currently saved in system
	public static final String ORDER_DATA = "order_data"; // order use-bean instance name
	
	// sizes for input data
	public static final int NUMBER_SIZE = 11; // maximal size of input-box holding numeric data
	public static final int NAME_SIZE = 30; // maximal size of input-box holding any name
	public static final int ADDRESS_SIZE = 60; // maximal size of input-box holding address string
	public static final int PWD_SIZE = 30; // password's maximal length
}